import React, {PureComponent} from "react"
import cs from "classnames"
import {Dropdown, Menu} from 'antd'

const menu = (
  <Menu>
  </Menu>
)

export default class HeaderButton extends PureComponent {

  render() {

    const {icon} = this.props || "icon-xiaoxi"

    return (
      <Dropdown overlay={menu} placement="bottomRight">
        <div className={"header-button"}><i className={cs("icon iconfont", icon)}/></div>
      </Dropdown>
    )
  }
}